package com.ray.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ray.bean.MaterialTypeExceptSourceBean;
import com.ray.mapper.MaterialTypeExceptSourceMapper;
@Service
public class MaterialTypeExceptSourceService {
	@Autowired
	MaterialTypeExceptSourceMapper materialTypeExceptSourceMapper;
	
	public List<MaterialTypeExceptSourceBean> getList(MaterialTypeExceptSourceBean bean) {
		return materialTypeExceptSourceMapper.getList(bean);
	}
	public int insertMaterialType(MaterialTypeExceptSourceBean bean) {
		return materialTypeExceptSourceMapper.insertMaterialType(bean);
	}
	public int updateMaterialType(MaterialTypeExceptSourceBean bean) {
		return materialTypeExceptSourceMapper.updateMaterialType(bean);
	}
}
